/*
 * KmyTypedef.h
 *
 *  Created on: 2012-12-7
 *      Author: KamiyaSoft
 */

#ifndef __KMY_TYPEDEF_H_
#define __KMY_TYPEDEF_H_

typedef signed char s8;
typedef signed short s16;
typedef signed int s32;
typedef signed long long s64;

typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;

#ifndef NULL
    #define NULL    0
#endif
//typedef bool BOOL;

typedef void (*FuncNoParam)(void);

#ifndef SAFE_RELEASE
    #define SAFE_RELEASE(o) {if (o!=NULL) {delete o; o = NULL;} }
#endif

#endif /* KMYTYPEDEF_H_ */
